-
Home
-
Security Optimizer – The All-In-One Protection Plugin
-
1.4.2
-
Code
-
Classes
- Sg_2fa
Total Complexity |
94 |
Dependencies |
7 |
Dependents |
5 |
Total lines |
895 |
Lines of code |
405 |
Logical lines of code |
194 |
Comment lines |
378 |
Methods |
31 |
Properties |
6 |
Methods 31
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validate_2fa_login() |
A |
47 |
8 |
35 |
load_form() |
A |
50 |
8 |
29 |
validate_2fabc_login() |
S |
50 |
6 |
29 |
init_2fa() |
S |
48 |
5 |
34 |
get_2fa_nonce_cookie() |
S |
59 |
5 |
14 |
enable_2fa() |
S |
56 |
4 |
20 |
validate_backup_login() |
S |
59 |
4 |
14 |
check_2fa_cookie() |
S |
59 |
4 |
14 |
handle_option_change() |
S |
63 |
4 |
12 |
get_args_for_template() |
S |
61 |
4 |
11 |
interim_check() |
S |
58 |
3 |
15 |
login_user() |
S |
59 |
3 |
13 |
reset_user_2fa() |
S |
61 |
3 |
12 |
store_hashed_user_meta() |
S |
62 |
3 |
11 |
move_encryption_file() |
S |
64 |
3 |
10 |
load_backup_codes_form() |
S |
61 |
2 |
13 |
generate_user_secret() |
S |
64 |
2 |
11 |
check_for_users_using_2fa() |
S |
56 |
1 |
21 |
get_user_secret() |
S |
68 |
2 |
7 |
reset_all_users_2fa() |
S |
72 |
2 |
5 |
show_notices() |
S |
64 |
2 |
10 |
hide_notice() |
S |
68 |
2 |
7 |
__construct() |
S |
69 |
2 |
6 |
show_qr_backup_code_used() |
S |
67 |
2 |
8 |
get_instance() |
S |
71 |
2 |
6 |
generate_user_backup_codes() |
S |
64 |
2 |
9 |
show_backup_codes() |
S |
65 |
2 |
9 |
set_2fa_dnc_cookie() |
S |
71 |
1 |
5 |
disable_2fa_show_notice() |
S |
73 |
1 |
5 |
check_authentication_code() |
S |
75 |
1 |
4 |
generate_qr_code() |
S |
69 |
1 |
6 |